package model


type UserCoinRecord struct {

	Id    int `form:"id, omitempty"  binding:"-" json:"id"`
	Mid int `json:"mid"`
	Before float64 `json:"before"`
	After float64 `json:"after"`
	Distribute float64 `json:"distribute"`
	Remark string `json:"remark"`
	From int `json:"from"`
	Uid int `json:"uid"`
	TargetId int `json:"target_id"`
	BaseFields
	UserInfo User `gorm:"FOREIGNKEY:Id;ASSOCIATION_FOREIGNKEY:TargetId" json:"userInfo"`
}

